﻿//创建时间: 2011-1-27
//创建作者: 李 城
//功能说明: 模板数据处理       
//最后修改: 2011-1-27
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Data;
using TRPOP.CMS.Template;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using System.Data.Common;
using TRPOP.Config;
using TRPOP.CMS.Model;
using System.Text.RegularExpressions;
using TRPOP.CMS.Business;
using TRPOP.CMS.Plugin;

namespace TRPOP.CMS.TemplateSQLServerDAL
{
    public partial class NullDAL : IDAL
    {
        public int GetAtuoContentCut()
        {
            return 0;
        }

        public string GetTemplateVar(string strVarKey)
        {
            return "";
        }

        public DataTable GetExtraPublish(string strNodeids, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public object GetContent(string strIndexids, bool blnCache, bool blnDatatTable, string strReturnkey)
        {
            return new DataTable();
        }
        public DataTable GetContentWithImgResource(string strIndexids)
        {
            return new DataTable();
        }

        public DataTable GetNodeListBySub(bool blnNodeguid, string strNodeguid, string strOrderby, string strIgnore, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public DataTable GetNodeListBySet(bool blnNodeguid, string strNodeguid, string strOrderby, string strIgnore, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public DataTable GetNodeListByParent(bool blnNodeguid, string strNodeguid, string strOrderby, string strIgnore, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public DataTable GetNodeListByBrother(bool blnNodeguid, string strNodeguid, string strOrderby, string strIgnore, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public DataTable GetNodeListBySon(bool blnNodeguid, string strNodeguid, string strOrderby, string strIgnore, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public DataRow GetNodeInfo(bool blnNodeguid, string strNodeguid, bool blnCache, string strReturnkey)
        {
            return null;
        }

        public DataTable GetCommentList(string strIndexid, string strStart, string strNum, bool blnHiddenIp, bool blnCache, string strReturnkey, string strWhere)
        {
            return new DataTable();
        }

        public int GetCommentCount(string strIndexid)
        {
            return 0;
        }

        public string GetCount(string strFunction, string strNodeid, string strTableid, string strWhere, string strQuery, bool blnCache, string strReturnkey)
        {
            return "";
        }

        public DataTable GetDatabySQLQuery(string strQuery, string strNum, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public int GetCountbySQLQuery(string strQuery, bool blnCache, string strReturnkey)
        {
            return 0;
        }

        public DataTable GetSearchWithAllSonByNodeid(string strNodeids, string strNum, string strField, string strKeywords, string strSeparator, string strIgnorecontentid, string strWhere, string strOrderby, bool blnExact, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public int GetSearchWithAllSonByNodeid(string strNodeids, string strField, string strKeywords, string strSeparator, string strIgnorecontentid, string strWhere, bool blnExact, bool blnCache)
        {
            return 0;
        }

        public DataTable GetSearchByNodeid(string strNodeids, string strNum, string strField, string strKeywords, string strSeparator, string strIgnorecontentid, string strWhere, string strOrderby, bool blnExact, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public int GetSearchByNodeid(string strNodeids, string strField, string strKeywords, string strSeparator, string strIgnorecontentid, string strWhere, bool blnExact, bool blnCache)
        {
            return 0;
        }

        public DataTable GetSearchByTableid(string strTableid, string strNum, string strField, string strKeywords, string strSeparator, string strIgnorecontentid, string strWhere, string strOrderby, bool blnExact, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public int GetSearchByTableid(string strTableid, string strField, string strKeywords, string strSeparator, string strIgnorecontentid, string strWhere, bool blnExact, bool blnCache)
        {
            return 0;
        }

        public DataTable GetListByNodeids(string strNodeids, string strNum, string strOrderby, string strWhere, string strIgnore, bool blnCache, string strReturnkey, bool blnSubNodeid)
        {
            return new DataTable();
        }

        public int GetListByNodeids(string strNodeids, string strWhere, string strIgnore, bool blnCache, bool blnSubNodeid)
        {
            return 0;
        }

        public DataTable GetListByTableId(string strTableId, string strNum, string strOrderby, string strWhere, string strIgnore, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public int GetListByTableId(string strTableId, string strWhere, string strIgnore, bool blnCache)
        {
            return 0;
        }

        public DataTable GetListByNodeGuid(string strNodeGuid, string strNum, string strOrderby, string strWhere, string strIgnore, bool blnCache, string strReturnkey)
        {
            return new DataTable();
        }

        public int GetListByNodeGuid(string strNodeGuid, string strWhere, string strIgnore, bool blnCache)
        {
            return 0;
        }

        public DataTable GetPageSearchList(int nodeid, int pageindex, int panenum, string key, string columns, out int recordcount)
        {
            recordcount = 0;
            return new DataTable();
        }

        public void ConvertToURLImagePath(Dictionary<string, string> dicImage)
        {
            //
        }

        public bool autoMiniGetPhotoInfo(string strphtotSrc, ref string strHttp, ref string strPhotoPath)
        {
            return false;
        }

        public TRPOP.CMS.Model.PSNInfo GetInfoByHttp(string strHttp)
        {
            return null;
        }


        public DataTable GetPageAdvancedSearchList(int nodeid, int pageindex, int panenum, string key, string columns, out int recordcount)
        {
            throw new NotImplementedException();
        }
    }
}
